package ro.myApp.security.dto;

import ro.myApp.commons.dto.QueryMessage;
import ro.myApp.security.entities.Role;
import ro.myApp.security.util.RoleEnum;

public class RoleCreateMessage extends QueryMessage {

	/**
	 * 
	 */
	private static final long serialVersionUID = 5673164698299150630L;

	private Role parent;
	
	private RoleEnum baseRole;
	
	public RoleCreateMessage(Role parent, RoleEnum baseRole) {
		this.parent=parent;
		this.baseRole=baseRole;
	}
	
	public Role getParent() {
		return parent;
	}
	public void setParent(Role parent) {
		this.parent = parent;
	}
	public RoleEnum getBaseRole() {
		return baseRole;
	}
	public void setBaseRole(RoleEnum baseRole) {
		this.baseRole = baseRole;
	}
}
